#ifndef SETTINGS_H
#define SETTINGS_H

#include <QCoreApplication>
#include <QSettings>
#include <QString>
#include <QTextCodec>

class Settings
{
public:
    static QString iniPath();

    static QSettings *getUserInstance();

    static QSettings *getInstance();
    static void checkDefaults();

    static QMap<QString,QVariant>* getVariables();

    static QString getEssential(const QString&);
    static QString getDefinition(const QString&);
private:
    Settings();
    Q_DISABLE_COPY(Settings)
};


#endif //SETTINGS_H
